package rush.edu.wechat.admin.web.user;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import rush.edu.wechat.facade.user.service.IUserService;

/**
 * DESC:
 * USER:hmily
 * DATE:2018/1/31
 * TIME:13:59
 */
@Controller
@RequestMapping("/admin/user")
public class UserController {

    @Autowired
    private IUserService iUserService;

    @RequestMapping("/findAll")
    @ResponseBody
    public Object findUser(){
        return iUserService.findAll();
    }
}
